home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekikoh Dennoh Club 5
/
Gekikoh Dennoh Club Vol. 5 (Japan).7z
/
Gekikoh Dennoh Club Vol. 5 (Japan) (Track 01).bin
/
internet
/
webx
/
jpged26s.lzh
/
Error.s
< prev
next >
Wrap
Text File
|
1996-11-10
|
3KB
|
157 lines
.include DOSCALL.MAC
.include JPEG.MAC
.include work.inc
.xref msgCR
.xref Restore_vector
.xref Comment_msg,Qtable_msg,file_msg,not_found_msg
.xref cant_PROC_msg
.xref ParamMsg
.xref illegal_size_msg
.xref out_of_memory_msg
.xref not_JPEG_msg
.xref no_picture_msg
.xref Write_error_msg
.xref Read_error_msg
* .xref no_sup_24_msg
.xref LoadForceContinue
.text
*║╧▌─▐╫▓▌┤╫░
*----------------------
.xdef Switch_Error
Switch_Error
pea ParamMsg(pc)
bra Disp_error_end
*ÉöÆlé¬ö═ê═èO
*----------------------
.xdef Illegal_size_error
Illegal_size_error
pea.l illegal_size_msg(pc)
bra Disp_error_end
*╥╙╪é¬æ½éΦé╚éó
*----------------------
.xdef Memory_error
Memory_error
pea.l out_of_memory_msg(pc)
bra Disp_error_end
*JPEG╠º▓┘é╞ë≡Ä▀Åoùêé╚éó
*----------------------
.xdef Not_JPEG_error
Not_JPEG_error
pea.l not_JPEG_msg(pc)
bra Disp_error_end
*JPEG╠º▓┘é╞ë≡Ä▀Åoùêé╚éó
*----------------------
.xdef No_Picture_error
No_Picture_error
pea.l no_picture_msg(pc)
bra Disp_error_end
*î╗╩▐░╝▐«▌é┼é═æ╬ë₧Åoùêé╚éó
*----------------------
.xdef Cant_PROC_error
Cant_PROC_error
pea.l cant_PROC_msg(pc)
bra Disp_error_end
*Åæé½ì₧é▀é╚éó
*----------------------
.xdef Write_error
Write_error
pea.l Write_error_msg(pc)
bra Disp_error_end
*ê┘Åφé╚JPEG╠º▓┘é┼éáéΘ
*----------------------
.xdef IllegalJPEG
IllegalJPEG
* btst.b #6,SysFlag3(a6)
* beq Read_error
move.l ErrorStackPoint(a6),d0
bze Read_error
movea.l d0,sp
bra LoadForceContinue
*ô╟é▌ì₧é▀é╚éó
*----------------------
.xdef Read_error
Read_error
pea.l Read_error_msg(pc)
bra Disp_error_end
*24bitôWèJé═╗╬▀░─é╡é─éóé╚éó
*----------------------
*.xdef no_sup_24_error
*no_sup_24_error
* pea.l no_sup_24_msg(pc)
* bra Disp_error_end
*JPEG╠º▓┘é¬î⌐é┬é⌐éτé╚éó
*----------------------
.xdef JPEG_not_found
JPEG_not_found
pea.l fname(a6)
bra File_not_found
*ë╝æzëµû╩╠º▓┘é¬î⌐é┬é⌐éτé╚éó
*----------------------
.xdef VS_not_found
VS_not_found
pea.l VSname(a6)
bra File_not_found
*║╥▌─╠º▓┘é¬î⌐é┬é⌐éτé╚éó
*----------------------
.xdef Comment_not_found
Comment_not_found
pea.l Comment(a6)
pea.l Comment_msg(pc)
bra _file_not_found
*ù╩Äqë╗├░╠▐┘╠º▓┘é¬î⌐é┬é⌐éτé╚éó
*----------------------
.xdef Qtable_not_found
Qtable_not_found
pea.l Qname(a6)
pea.l Qtable_msg(pc)
_file_not_found
DOS _PRINT
*╠º▓┘é¬î⌐é┬é⌐éτé╚éó
*----------------------
File_not_found
pea.l file_msg(pc)
DOS _PRINT
addq.l #4,sp
DOS _PRINT
addq.l #4,sp
pea.l not_found_msg(pc)
Disp_error_end
DOS _PRINT
pea.l msgCR(pc)
DOS _PRINT
bsr Restore_vector
move.w #17,-(sp)
dos _CONCTRL *╢░┐┘ò\Ī
move.w #9,(sp)
dos _EXIT2
.end